package Cards;

/**
 * Base Class for all types of cards
 */
public class Card
{
	// "Enum" of cards:
	public static final int MailCardBill = 0;
	public static final int MailCardBuyer = 1;
	public static final int DealCard = 2;
	public static final int DealCardAuction = 3;
	public static final int EventCardLoss = 4;
	public static final int EventCardGain = 5;
	
	private int m_cardType;
	private String m_Name;
	private Integer m_Value;

	Card(int a_Type, String a_Name, int a_Value)
	{
		setM_cardType(a_Type);
		m_Name = a_Name;
		m_Value = a_Value;
	}	
	public void setName(String m_Name)
	{
		this.m_Name = m_Name;
	}
	public String getName()
	{
		return m_Name;
	}
	public void setValue(int value)
	{
		m_Value = value;
	}
	public Integer getValue()
	{
		return m_Value;
	}
	public void setM_cardType(int m_cardType) {
		this.m_cardType = m_cardType;
	}
	public int getM_cardType() {
		return m_cardType;
	}
}
